/*
 * @Description: 应用入口
 * @Version: 1.0
 * @Autor: jiajun wu
 * @Date: 2021-11-11 11:56:17
 * @LastEditors: jiajun wu
 * @LastEditTime: 2021-12-01 10:03:57
 */
import { createApp } from 'vue'
import 'ant-design-vue/dist/antd.less';
import Storage from './utils/storage'
import App from './App.vue'
const app = createApp(App);
app
  .use(Storage) // 注意:此处必须先执行加载 因为 storage 存在wasm库 wasm优先执行

import AntD, { message } from 'ant-design-vue'
import router from './router'
import i18n from '@/locales/useI18n'
import './permission'
import store from './store';

app.config.globalProperties.$message = message;
app
  .use(Storage)
  .use(store)
  .use(router)
  .use(AntD)
  .use(i18n)
  .mount('#app')
